<?php if(!empty($output['list'])){?>
<?php foreach($output['list'] as $val){?>
<div class="saleItem" auction_id="<?php echo $val['id'];?>">
    <div class="saleImg" style="background-image: url(<?php echo bearshop_cut_image(UPLOAD_SITE_URL.'/shop/auction/'.$val['auction_add_date'].'/'.$val['auction_img1']);?>);"></div>
    <div class="saleDesc"><?php echo bearshop_auction_description_substr($val['auction_description'])?></div>
    <div class="saleInfo">
        <div class="bid">
                <span>￥<?php echo $val['leadingprice'];?></span>
        </div>
    	<div class="popularity"><?php echo $val['viewnum']?></div>
    </div>
</div>
<?php }?>
<?php }?>